@cir-engineering I’m using six axis and custom hid Sony. Not sure if I need both, but it’s working. I don’t have the ps3 driver installed. Anyway, I started my pi and synced my ps3 controller via Bluetooth as usual, no issue. Turned the controller off by holding down the ps button (important because it will stay as blutooth with charging only) and plugged the usb cable in and the buttons were all messed up. Reconfigured with the usb cable and it was now working fine with usb. Unplugged and Resynced to Bluetooth, and still had no issue.
Try configuring it with the usb cable, make sure the controller is off when you plug it in to be sure your in usb mode.